export default {
  path: "/system",
  redirect: "/system/account",
  meta: {
    icon: "settingLine",
    title: "系统设置",
    rank: 2
  },
  children: [
    {
      path: "/system/account",
      name: "account",
      component: () => import("@/views/system/account/index.vue"),
      meta: {
        title: "账号设置",
        roles: ["admin"]
      }
    },
    {
      path: "/system/item",
      name: "item",
      component: () => import("@/views/system/item/index.vue"),
      meta: {
        title: "项目设置",
        roles: ["admin"]
      }
    },
    {
      path: "/system/depart",
      name: "depart",
      component: () => import("@/views/system/dept/index.vue"),
      meta: {
        title: "科室管理",
        roles: ["admin"]
      }
    }
  ]
} as RouteConfigsTable;
